<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Table extends CI_Controller {
    public $data;
    function __construct()
	{
	   $this->load->model('m_table');
		parent::__construct();
	}
    public function index()
	{	
	    $khoa = $this->uri->segment(2);
		$this->data['baigiang']= $this->m_table->getTableBaigiang($khoa);
        echo count($this->m_table->getTableBaigiang($khoa));
		//$this->load->view('cntt/index', $this->data);
        
	}
}
?>